<div class="aligncenter">
{if $game->id == 0}
	<span class="errortext">Hic bir mac planlanmadi. Yöneticilerimiz uyuyor mu?</span>
{else}
	<table class="liste small">
		<caption>
			{if $my_session->logged_in}
				<a href="games.php?action=userPredictions&game_id={$game->id}">
			{/if}
				{$game->home_team->team|substring:1:5} 
				- {$game->away_team->team|substring:1:5}
			{if $my_session->logged_in}</a>{/if}
		</caption> 
		{foreach from=$stats key=myId item=i name=statistics_table}
			{if $smarty.foreach.statistics_table.first}
				<tr>
					<th>Tahminci</th><th>Skor</th>
				</tr>	 			  
			 {/if}
			<tr>
				<td class="aligncenter">{$i.count}</td>
				<td>{$i.home_score} - {$i.away_score}</a></td>
			</tr>
		{foreachelse}
			<tr><td>
				<span class="errortext">Hic tahmin yapilmadi. Tahmincilerimiz uyuyor mu?</span>
			</td></tr>
		{/foreach}
	</table>		
{/if}	      
</div>